Number: @Number

@code {
    [Parameter]
    public int Number { get; set;}

    public void Display(int nbr)
    {
        Number = nbr;
        this.StateHasChanged();
    }
}